package com.iraeta.controller.basic;

import com.iraeta.common.AuthAccess;
import com.iraeta.controller.BaseController;
import com.iraeta.service.etl.WuLiaoTongBuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController(value = "BussOperController")
@RequestMapping("bussoper")
public class BussOperController extends BaseController {
    @Autowired
    WuLiaoTongBuService wuLiaoTongBuService;

    @RequestMapping("wuliaotongbu")
    @AuthAccess
    public String wuLiaoTongBu(){
        wuLiaoTongBuService.WuLiaoTongBu();
        return this.success();
    }
}
